* It demonstrates how to implement support for trees with GtkListView.
* It also shows how to set up sorting and filtering for columns in a
* GtkColumnView.
+ *
+ * It also demonstrates different styles of list. The tree on the left
+ * uses the .navigation-sidebar style class, the list on the right uses
+ * the .data-table style class.
*/
#include <gtk/gtk.h>
<object class="GtkScrolledWindow">
<child>
<object class="GtkListView" id="listview">
+ <style>
+ <class name="navigation-sidebar"/>
+ </style>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<property name="vexpand">1</property>
<child>
<object class="GtkColumnView" id="columnview">
+ <style>
+ <class name="data-table"/>
+ </style>
<child>
<object class="GtkColumnViewColumn" id="name_column">
<property name="title">Name</property>